import { S } from '../../s';
import { IPSChartSeriesPie } from './ipschart-series-pie';
import { PSDEChartSeriesCSNoneImplBase2 } from './psdechart-series-csnone-impl-base2';

export class PSDEChartSeriesPieImpl
  extends PSDEChartSeriesCSNoneImplBase2
  implements IPSChartSeriesPie
{
  get center(): IModel {
    return this.M.center;
  }

  get minAngle(): number {
    return this.M.minAngle;
  }

  get minShowLabelAngle(): number {
    return this.M.minShowLabelAngle;
  }

  get radius(): IModel {
    return this.M.radius;
  }

  get roseType(): IModel {
    return this.M.roseType;
  }

  get startAngle(): number {
    return this.M.startAngle;
  }
  get cls(): string {
    return 'PSDEChartSeriesPieImpl';
  }
  instanceof(cls: string): boolean {
    if (
      cls == S._3f7 ||
      cls == S._3f8 ||
      cls == S._114 ||
      cls == S._115 ||
      cls == S._7 ||
      cls == S._11a ||
      cls == S._11c ||
      cls == S._122
    )
      return true;
    return super.instanceof(cls);
  }
}
